From: Monster Date: Thu, 28 Mar 2024 18:47:10 +0000 (+0100) Subject: dateMenu: Better align strings with the HIG X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~200 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=779dfb66004351039eca0c32247e0a9a41776b9d;p=gnome-shell.git dateMenu: Better align strings with the HIG Turn the button labels to title case, make the strings shorter, make the weather string consistent with the world clocks string. Part-of: --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index d09eabc3e..c066ddb8a 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -410,7 +410,7 @@ class WorldClocksSection extends St.Button { let layout = this._grid.layout_manager; const title = this._locations.length === 0 - ? _('Add world clocks…') + ? _('Add World Clocks…') : _('World Clocks'); const header = new St.Label({ style_class: 'world-clocks-header', @@ -711,9 +711,9 @@ class WeatherSection extends St.Button { } if (info.network_error()) - this._setStatusLabel(_('Go online for weather information')); + this._setStatusLabel(_('Go Online for Weather Information')); else - this._setStatusLabel(_('Weather information is currently unavailable')); + this._setStatusLabel(_('Weather Information Unavailable')); } _sync() { @@ -725,7 +725,7 @@ class WeatherSection extends St.Button { if (this._weatherClient.hasLocation) this._titleLabel.text = _('Weather'); else - this._titleLabel.text = _('Select weather location…'); + this._titleLabel.text = _('Select Weather Location…'); if (this._weatherClient.hasLocation) this._titleLabel.remove_style_class_name('no-location');